/**
 * 
 */
//初始化
$(function(){
    UserService.loginBtnBind();
});
var UserService={

    loginBtnBind:function(){
        $("#loginBtn").bind("click",function(){
            var workId=$("#workId").val(),
            password=$("#password").val();
            alert(password);
            data={
                workId:workId,
                password:password
            };
            url="index/login";
        window.location.href="index/login?workId="+workId+"&password="+password;
            
            /*$.ajax({
                type:'post',
                url:url,
                data:data,
            });*/
        });
    }
};
